package com.blog.dao;

import com.blog.pojo.Article;
import org.apache.ibatis.annotations.Param;

import javax.jws.Oneway;
import java.sql.Blob;
import java.util.List;
import java.util.Map;

/**
 * @author
 * @create 2018-06-08 18:43
 **/
public interface ArticleMapper {
    List<Article> selectAllByAnimal(Map<String,Object> param);
    Article selectById(String id);

    int insert(Article article);

    int update(Article article);
    int bachUpdate(Map<String, Object> param);

    int bachDelete(Map<String, Object> param);
    Blob test();
}
